package com.task;

import com.wechat.service.WechatService;

import tool.ImageToolFinal;

public class TaskOne {

	/**功能：
	 * 定时任务————将微信服务器上的图片抓取下来并打上水印
	 * @param args
	 */
	
	public void imageDeal(){
		boolean b=ImageToolFinal.getInstance().imageDeal(WechatService.getInstance().find().getAccessToken());
		if(!b)
			System.out.println("fail");
		else
			System.out.println("success");
	}
	
	
	public void test(){
		System.out.println("downLoad");
		System.out.println("markWater");
		
	}
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
